This commit should fix the package building to build due to https://github.com/NixOS/nixpkgs/issues/16238
Printing tested on M2875FD and M2675FN models. Scanning not tested yet due to lack of access of Samsung scanning devices.
All work in this commit is attributed to @jokogr. Content of this commit is basically copied+pasted from c41e771a38