profile: Add IF around KDB_INSTALL_PATH declaration

 - Allows profile to be reloaded without an error that KDB_INSTALL_PATH is set
build.sh: Fixes issue #3

 - All required build folders now created in script
build.sh: Minor formatting fix