Script to check and setup environment for building QNAP packages on Linux