various osx fixes

- fixed big plugin extension
- do not pass -L for non existsing project directories to link command