Fixes build process