Create build directory before compiling