Build and memSize impl for Solaris