Fixed compile errors

Fixed any little issues when trying to compile the build.