Fixed some issues with project compilation.