check requirements before build
workaround for qt 5.2