made build path relative and opengl works regardless of os