cmake: build with libpng 1.5 (from OpenBSD ports)
pthreads: disable the default PTHREAD_MUTEX_STRICT_NP behaviour for OpenBSD