Fixes #2946 non-standard FreeType DLL P/Invoke on Windows

@ScottNZ please review, thanks to @RobMaister for the quick response.