Fixed build on Nexenta