Added isLibrary for linux