build: bump build requirements and simplify cflags/libs