Implementing nar-compile for native libraries and renaming packages