Fixed build file

Fixed the build file to build the library independently of any other files.