Define _USE_MATH_DEFINES for Win32 so app hello app builds. Specify library path in java command instead of via environment variable not understood by Windows java.