BUG: use wrong logical operator for comparison
dependency not include files under lib directory
wrong determination of __stack_end