Create build directory if it doesn't exist when building modular input SPL files