Fix paths and cleanup build files.