Remove unnecessary build configuration and fix #2