Add NIXAPI to Dimension classes to fix the build on windows

Cf: http://0xdeadbabe.info/viewBuildError.php?type=1&buildid=160