build fix to compile with Maverics

When compiling QT on Mac-OSx - rename serializeOSX.h to serialize.h and
compile as usual.
This also properly fixes OSx dock minimize issue.