Fixed build error for constructor on some OS's.