Since a too low ulimit aborts the build, it's an error.
Fixed: 'cannot run program "ulimit"' error.

When running on certain platforms the `ulimit` command is not available, which would crash the build script.

This change simply refrains from using the `ulimit` command if it's not available.