fixed build on x64 machines