Fixed clip path fot 64 bit arch

Separated maks in two paths. Works for 64 bit arch!