Fixed some build settings and removed build artifacts.