Better compiler detection
Removed chdir class
Improved builder code