Removed loose file and merged compiling and linking.