Improve workarounds for building in various environments

(No, I'm not going to use autotools)
Don't run program if locking securebits failed
Bump version to v1.4.1