Refactor to success compilation

All project builds successfully in one directory