fix the build and install