Fix build process