Lazarus WIN64 compatibility
Defines fix