added rules to build .o's to lib for native build