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 https://github.com/jokogr/nixpkgs/commit/c41e771a388dca6cb5f15edab2fd36fd6f96c8a8