Added missing include.
Fixed wrongly initialized variables.
Fixed build error that occured when the build directory is not './build/'.